package com.swxy.club.exceptions;

import lombok.Getter;

/**
 * @author 易
 */

@Getter
public class BaseException extends RuntimeException {
    private final int code;
    private final String message;

    public BaseException(int code, String message) {
        super(message);
        this.code = code;
        this.message = message;
    }
}
